﻿// CModifyRoomDlg.cpp: 实现文件
//

#include "pch.h"
#include "HotelManagementMFC.h"
#include "afxdialogex.h"
#include "CModifyRoomDlg.h"


// CModifyRoomDlg 对话框

IMPLEMENT_DYNAMIC(CModifyRoomDlg, CDialog)

CModifyRoomDlg::CModifyRoomDlg(CWnd* pParent /*=nullptr*/)
	: CDialog(IDD_DLG_ROOM_MODIFY, pParent)
{

}

CModifyRoomDlg::~CModifyRoomDlg()
{
}

void CModifyRoomDlg::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	DDX_Control(pDX, IDC_SEARCH_PAPERNUM, m_sPaperNum);
	DDX_Control(pDX, IDC_ROOMID, m_nRoomID);
	DDX_Control(pDX, IDC_CHECK1, m_cTV);
	DDX_Control(pDX, IDC_CHECK2, m_cAirCondition);
	DDX_Control(pDX, IDC_CHECK3, m_cWC);
	DDX_Control(pDX, IDC_DESCRIPTION, m_nDescription);
	DDX_Control(pDX, IDC_RATEDNUM, m_nRatedNum);
	DDX_Control(pDX, IDC_REALNUM, m_nRealNum);
	DDX_Control(pDX, IDC_ROOMTYPE, m_nRoomType);
}


BEGIN_MESSAGE_MAP(CModifyRoomDlg, CDialog)
END_MESSAGE_MAP()


// CModifyRoomDlg 消息处理程序
